<template>
  <view v-if="publicTime">
    <h5 class="notice-time">{{ publicTime }}</h5>
  </view>

  <uni-card margin="0 15px" padding="0">
    <view class="notice-text-title">
      {{ title }}
    </view>

    <text class="notice-text-content">
      {{ content }}
    </text>

    <view class="notice-text-people">
      {{ people }}
    </view>

    <view class="notice-text-time">
      {{ time }}
    </view>
  </uni-card>
</template>

<script lang="ts" setup>
import UniCard from '@dcloudio/uni-ui/lib/uni-card/uni-card.vue';

defineProps({
  title: String,
  content: String,
  people: String,
  time: String,
  publicTime: String
})

</script>
